package cn.iocoder.yudao.module.blog.convert.improvechapter;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.blog.controller.admin.improvechapter.vo.*;
import cn.iocoder.yudao.module.blog.dal.dataobject.improvechapter.BlogImproveChapterDO;

/**
 * 课程章节 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface BlogImproveChapterConvert {

    BlogImproveChapterConvert INSTANCE = Mappers.getMapper(BlogImproveChapterConvert.class);

    BlogImproveChapterDO convert(BlogImproveChapterCreateReqVO bean);

    BlogImproveChapterDO convert(BlogImproveChapterUpdateReqVO bean);

    BlogImproveChapterRespVO convert(BlogImproveChapterDO bean);

    List<BlogImproveChapterRespVO> convertList(List<BlogImproveChapterDO> list);

    PageResult<BlogImproveChapterRespVO> convertPage(PageResult<BlogImproveChapterDO> page);

    List<BlogImproveChapterExcelVO> convertList02(List<BlogImproveChapterDO> list);

}
